package ModelImplementation

import "time"

type TimeCard struct {
	itsDate time.Time
	itsHours float64
}

func NewTimeCard(date time.Time, hours float64) *TimeCard{
	return &TimeCard{date, hours}
}

func (t *TimeCard)GetDate()time.Time{
	return t.itsDate
}

func (t *TimeCard)GetHours()float64{
	return t.itsHours
}